﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IntoMes.Models
{
    public class IssProducePlan
    {
        public DateTime DateTime { get; set; }
        public string ProductMode { get; set; }
        [Key]
        public int Count { get; set; }

        public int PlanCount { get; set; }
        public string CurBc { get; set; }
    }

    public class IssProducePlanContext : DbContext
    {
        public IssProducePlanContext() : base("ProductionConnection") { }
        public virtual DbSet<IssProducePlan> ProductionPlan { get; set; }

        protected override void OnModelCreating(DbModelBuilder modelBuilder)
        {
        }
    }
}
